/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package test;

import java.io.File;
import java.sql.Connection;
import java.sql.Statement;
import onpu_dms_xls.API.API;
import onpu_dms_xls.exceptions.MyException;
import onpu_dms_xls.kernel.common.DB.DBConnect;
import onpu_dms_xls.kernel.common.logAndDebug.Debug;

/**
 *
 * @author Анатолий
 */
public class main2 {
    public static void main(String[] args){
        try {
            new main2();
        } catch(Exception e){
            System.out.println(e);
            return;
        }
    }

    private main2() throws Exception{
                Connection con = null;
        try {
            DBConnect dbc = new DBConnect("jdbc:postgresql://10.1.6.19:5433/onpu", "kovbasyuk@ics.opu.ua", "1234321");
            con = dbc.getConnection();
        } catch (MyException e) {
            System.out.println(e);
            return;
        }

        int debugMode = Debug.FULL_PRINT;
        int documentClassID = 202;


    }
}
